package com.canvas.form;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: 宗恣
 * @Date: 2018/9/5 0005 13:50
 */
@Data
public class DatatableSearch {

    /**
     * Datatables 要求回显字段
     */
    private int draw;

    /**
     * Datatables 规定分页字段
     */
    private int start;
    private int length;

    private Integer status;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTimeMin;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTimeMax;

    private String city;

    private String title;

    private String direction;

    private String orderBy;

}
